package com.enqualcomm.kids.mvp.map;


import com.enqualcomm.kids.network.socket.response.LocationResult;

import rx.Observable;

/**
 * Created by yinzhiqun on 2016/1/22.
 * 根据位置判断是否在电子围栏范围内
 */
public interface ILocationFencingModel {

    /**
     * 处在不同的围栏时，发送通知
     * @return
     */
    Observable<String> locationChange(String terminalid);

    Observable<LocationResult.Data> addressChange();


    void start();

    void stop();

    void reStart();
}
